<#setting number_format = "#"/>
<STYLE type=text/css>@import url( ${contextPath}/templates/${templateName}/admin/style.css );</STYLE>

<form accept-charset="${encoding}" name="form" action="${contextPath}/jforum${extension}" method="post">
<input type="hidden" name="action" value="delete">
<input type="hidden" name="module" value="${moduleName}">
<input type="hidden" name="securityHash" value="${securityHash}">

<TABLE class=forumline cellSpacing=1 cellPadding=3 width="100%" border=0><TBODY>
<TR>
<TH class="thhead" vAlign=center colSpan=4 height=25>${I18n.getMessage("Rank.List.Title")}</TH>
</TR>

<tr>
<td class='row2'><span class='gen'><b>${I18n.getMessage("Rank.List.rankName")}</b></span></td>
<td class='row2' align="center"><span class='gen'><b>${I18n.getMessage("Rank.List.minPosts")}</b></span></td>
<td class='row2' align="center"><span class='gen'><b>${I18n.getMessage("Action")}</b></span></td>
<td class='row2' align="center"><span class='gen'><b>${I18n.getMessage("Delete")}</b></span></td>
</tr>

<#list ranks as rank>
	<TR>
	<TD class="row1" width="38%"><SPAN class=gen>${rank.title}</SPAN></TD>
	<TD width="26%" class="row1" align="center"><span class="gen">${rank.min}</span></TD>
	<TD width="26%" class="row1" align="center"><span class="gen"><a href="${contextPath}/${moduleName}/edit/${rank.id}${extension}">${I18n.getMessage("Rank.List.Edit")}</a></span></TD>
	<TD width="10%" class="row1" align="center"><input type="checkbox" name="rank_id" value="${rank.id}"></TD>
	</TR>
</#list>

<TR align="center">
<TD class="catbottom" colSpan=4 height=28>
<INPUT class=mainoption type=button value="${I18n.getMessage("Rank.List.ClickToNew")}" name=button onClick="document.location = '${contextPath}/${moduleName}/insert${extension}';">
&nbsp;&nbsp;
<INPUT class=mainoption type=submit value="${I18n.getMessage("Rank.List.ClickToDelete")}" name=submit></TD>
</TR></TABLE>
</FORM>
   
